import java.util.Scanner;

class FishGame {
    private static int hunger = 50;
    private static int waterCleanliness = 50;
    private static int health = 70;
    private static Scanner scanner = new Scanner(System.in);

    public static void main(String[] args) {
        boolean running = true;
        int choice = scanner.nextInt();
        switch (choice) {
            case 1 : feed();break;
            case 2 : cleanWater();break;
            case 3 : showStatus();break;
            case 4 : running = false;break;
            default : System.out.println("无效选项！");
        }
        showStatus();

    }

    private static void showStatus() {
        System.out.println("\n=== 金鱼状态 ===");
        System.out.println("饥饿度: " + hunger + "%");
        System.out.println("水质清洁度: " + waterCleanliness + "%");
        System.out.println("健康度: " + health + "%");
    }

    private static void showMenu() {
        System.out.println("\n请选择操作：");
        System.out.println("1. 喂食");
        System.out.println("2. 换水");
        System.out.println("3. 查看状态");
        System.out.println("4. 退出");
        System.out.print("请输入选项：");
    }

    private static void feed() {
        //TODO 请补充代码
        hunger = hunger-15;
        health += 5;
        System.out.println("喂食成功！");
    }

    private static void cleanWater() {
        //TODO 请补充代码
        waterCleanliness += 30;

        System.out.println("换水完成！");
    }
}